package com.google.zxing.client.android.wifi;

public class WifiConfigInfo {
	NetworkType type;
	String ssid;
	String preSharedKey;
	String identity;
	String passwd;
	
	public WifiConfigInfo(NetworkType type, String ssid, String preSharedKey) {
		super();
		this.type = type;
		this.ssid = ssid;
		this.preSharedKey = preSharedKey;
	}
	public WifiConfigInfo() {
		super();
	}
	@Override
	public String toString() {
		return "WifiConfigInfo [type=" + type + ", ssid=" + ssid
				+ ", preSharedKey=" + preSharedKey + ", identity=" + identity
				+ ", passwd=" + passwd + "]";
	}
	public WifiConfigInfo(NetworkType type, String ssid) {
		super();
		this.type = type;
		this.ssid = ssid;
	}
	public WifiConfigInfo(NetworkType type, String ssid, String identity,
			String passwd) {
		super();
		this.type = type;
		this.ssid = ssid;
		this.identity = identity;
		this.passwd = passwd;
	}
	public NetworkType getType() {
		return type;
	}
	public void setType(NetworkType type) {
		this.type = type;
	}
	public String getSsid() {
		return ssid;
	}
	public void setSsid(String ssid) {
		this.ssid = ssid;
	}
	public String getPreSharedKey() {
		return preSharedKey;
	}
	public void setPreSharedKey(String preSharedKey) {
		this.preSharedKey = preSharedKey;
	}
	public String getIdentity() {
		return identity;
	}
	public void setIdentity(String identity) {
		this.identity = identity;
	}
	public String getPasswd() {
		return passwd;
	}
	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}
	
}
